<?php

# Позволените файлови формати
$allowed_image_types = Array ( 
	'jpg' => 'image/pjpeg',
	'jpg_1' => 'image/jpeg',
	'jpeg_p' => 'image/pjpeg',
	'jpeg' => 'image/jpeg',
	'png_x' => 'image/x-png',
	'png' => 'image/png',
	'gif' => 'image/gif',
                         );     

# Позволените файлови формати
$allowed_file_types = Array (
	'txt' => 'text/plain',
	
	'ppz' => 'application/mspowerpoint',
	'ppt' => 'application/vnd.ms-powerpoint',
	'ppt_2' => 'application/ms-powerpoint',
	'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
	
	'xls' => 'application/vnd.ms-excel',
	'xls_2' => 'application/x-msexcel',
	'xls_3' => 'application/ms-excel',
	'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
	
	'pdf' => 'application/pdf',
	'pdf_2' => 'application/x-pdf',
	
	'doc' => 'application/msword',
	'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
	
	'zip' => 'application/zip', 
	'zip_1' => 'application/x-zip', 
	'zip_2' => 'application/x-zip-compressed', 
	'zip_3' => 'application/octet-stream', 
	'zip_4' => 'application/x-compress', 
	'zip_5' => 'application/x-compressed', 
	'zip_6' => 'multipart/x-zip',
	
	'rar' => 'application/x-rar-compressed', 
	'rar_1' => 'application/octet-stream',
                         ); 
    
?>